﻿using System.Collections.Generic;
using EnetaMvc.Core.Domain.News;

namespace EnetaMvc.Core.Repositories
{
    public interface IBlogRepository
    {
        IList<Blog> ListBlogs();
        IList<Blog> ListPublishedBlogs();
        IList<Blog> ListPendingBlogs();
        IList<Blog> ListBlogsForUser(string token);
        Blog GetBlogById(long id);
        Blog GetPublishedBlogById(long id);
        void SaveBlog(Blog blog);
    }
}
